<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
			
%>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'ShowAllUser.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<meta http-equiv="Content-Type" content="ext/html; charset=utf-8"/>
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

<script type="text/javascript">
	var msg ='<%=session.getAttribute("tipMessage")%>';
	if (msg != ""&&msg!=null) {
	<%session.setAttribute("tipMessage","");%>
		alert(msg);
		
	}
</script>
<style type="text/css">
table.table {
	font-family: verdana,arial,sans-serif;
	font-size:15px;
	color:#333333;
	border-width: 1px;
	border-color: #999999;
	border-collapse: collapse;
	text-align:center;
	
}
table.table th {
	background:#b5cfd2 url('img/cell-blue.jpg');
	border-width: 1px;
	padding: 8px;
	border-style: solid;
	border-color: #999999;
	text-align:center;
}
table.table td {
	background:#dcddc0 url('img/cell-grey.jpg');
	border-width: 1px;
	padding: 8px;
	border-style: solid;
	border-color: #999999;
	text-align:center;
	
}

</style>

  </head>
  
  <body>
  <br>

  <div align=center>
  <form action="delectmanygroup" method="post">
    <table class="table table-hover"  style="width:50%">
    <tr>
    <th style="background:white" colspan= "6"><a href=beforeaddworkgroup>新增</a>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;  <input type="submit" value="删除" /></th>
 
     </tr>
  	<tr border=1>
  	<th>选择</th>
  		<th>工作组名</th>
  		<th>操作</th>
  		
  	</tr>
  
	<s:iterator value="grouplist" id="workgroup">
								<tr>
									<td><input type="checkbox" name="delectmg" value="<s:property value="#workgroup.workgroupName" />"></td>													
									<td><s:property value="#workgroup.workgroupName" /></td>	
														
									<td><a href="<s:url action="beforeupdategroup">
						       <s:param name="workgroupBean.workgroupName" value="#workgroup.workgroupName"></s:param>
						       <s:param name="workgroupBean.workgroupMember" value="#workgroup.workgroupMember"></s:param></s:url>"
													>编辑</a>
													
											</td>
					
								</tr>
	</s:iterator>
	
  

  	</table>
  	</form>
  	</div>
  </body>
</html>